package routers

import "github.com/gin-gonic/gin"

func AdminRouterInit(r *gin.Engine) {
	adminRouters := r.Group("/admin")
	{
		adminRouters.GET("/", func(ctx *gin.Context) {
			ctx.JSON(200, "后台首页")
		})
		adminRouters.GET("/user", func(ctx *gin.Context) {
			ctx.JSON(200, "用户信息")
		})
	}
}
